package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.entity.SysUser;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SysUserAddDto extends SysUser {
    // 可能不止一个角色id
    @JsonProperty("role_id")
    private List<String> roleIdList = new ArrayList<>();
}
